package com.example.waterdispenserm2.activity;

import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import com.example.waterdispenserm2.base.BasicsActivity;
import com.example.waterdispenserm2.databinding.ActivityAttentionBinding;
import com.example.waterdispenserm2.util.SPUtils;


//注意页面
public class AttentionActivity extends BasicsActivity<ActivityAttentionBinding> {

    public static  void startActivity(){
        Intent intent=new Intent(SPUtils.getContext(), AttentionActivity.class);
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        SPUtils.getContext().startActivity(intent);
    }
    @Override
    public void widgetClick(View v) {

    }

    @Override
    public void setListener() {

    }

    @Override
    public void initView() {

        binding.ivMessage.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

    }

    @Override
    protected ActivityAttentionBinding getViewBinding() {
          return ActivityAttentionBinding.inflate(LayoutInflater.from(this));
    }
}